<div class="body_center">
    <div class="search">
        <div class="bgmain">
            <a href="WWW.Simsogiahuy.com">WWW.Simsogiahuy.com</a>
        </div>
        <div class="bgmainc">
        	<form style="margin: 0px; padding: 0" action="/search/index" method="GET" name="timkiemsim">
                <div id="soption2" style="text-align: center;">
                    <div style="height: 10px; clear: both"></div>
                    <div style="margin: 0 auto; text-align: center">
	                    <select style="width: 129px"  name="snetwork">
	                    	<option value="0" selected="">Danh sách mạng</option>
	                    	<?php foreach ($list_network as $key=>$value){ ?>
		                    	<option value="<?php echo $value['id']?>" <?php if(isset($_SESSION['search']['network_id']) && $_SESSION['search']['network_id'] == $value['id']) echo 'selected'; ?>>- Sim Số Đẹp <?php echo $value['name']; ?></option>
		                    <?php } ?>
	                    </select><strong>&nbsp;
	                    <select style="width: 130px" name="sgroup">
		                    <option value="0">Danh sách nhóm</option>
		                    <?php foreach ($list_group as $key=>$value){ ?>
		                    	<option value="<?php echo $value['id']?>" <?php if(isset($_SESSION['search']['group_id'])&& $_SESSION['search']['group_id'] == $value['id']) echo 'selected'; ?>>- Sim <?php echo $value['name']; ?></option>
		                    <?php } ?>
		                </select>
		                </strong>
		                <span style="display: none" id="dauso">&nbsp;
		                    <select name="sdauso">
		                    	<option value="0">Đầu số</option>
		                    </select>
		                </span>&nbsp;
	                    <select style="width: 75px" name="sgia">
	                    	<option value="0" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == 0) echo 'selected'; ?>>Giá tiền</option>
	                    	<option value="0-0.5" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '0-0.5') echo 'selected'; ?>>Dưới 0.5tr</option>
	                    	<option value="0.5-1" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '0.5-1') echo 'selected'; ?> >Từ 0.5tr - 1tr</option>
	                    	<option value="1-2" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '1-2') echo 'selected'; ?> >Từ 1tr - 2tr</option>
	                    	<option value="2-5" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '2-5') echo 'selected'; ?>  >Từ 2tr - 5tr</option>
	                    	<option value="5-10" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '5-10') echo 'selected'; ?> >Từ 5tr - 10tr</option>
	                    	<option value="10-20" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '10-20') echo 'selected'; ?>  >Từ 10tr - 20tr</option>
	                    	<option value="20-50" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '20-50') echo 'selected'; ?> >Từ 20tr - 50tr</option>
	                    	<option value="50-100" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '50-100') echo 'selected'; ?>  >Từ 50tr - 100tr</option>
	                    	<option value="100-200" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '100-200') echo 'selected'; ?> >Từ 100tr - 200tr</option>
	                    	<option value="200-500" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '200-500') echo 'selected'; ?>>Từ 200tr - 500tr</option>
	                    	<option value="500-5000" <?php if(isset($_SESSION['search']['gia']) && $_SESSION['search']['gia'] == '500-5000') echo 'selected'; ?>>Trên 500tr</option>
	                     </select>

	                <div style="clear: both; text-align: center;">
	                    Sim<input type="radio" checked="checked" style="height: 20px" value="0" name="sdau">Tất 
	                    cả<input type="radio" <?php if(isset($_SESSION['search']['dau']) && $_SESSION['search']['dau'] == '10') echo 'checked '; ?> value="10" style="width: 20px" name="sdau">10 
	                    Số<input type="radio" <?php if(isset($_SESSION['search']['dau']) && $_SESSION['search']['dau'] == '11') echo 'checked '; ?> style="width: 20px" value="11" name="sdau">11 
 	                    Số 
	                 </div> 

	                 	<div style="height: 10px; clear: both"> </div>
	                	<div id="form_search">
		                    <div class="tim_center float-left" style="margin-left: 30px;">
		                        <input class="text_search" type="text" value="<?php if(isset($_SESSION['search']['text_sim'])) echo $_SESSION['search']['text_sim']; ?>" name="Textsim" onkeyup="checkmobis(this);">
		                    </div>
		                    <div class="float-left" style="text-align: left; width: 60px; margin-left: 10px;">
		                        <input type="image" name="submit" src="/images/default/s3.png" onmouseout="this.src='/images/default/s3.png'" onmouseover="this.src='/images/default/s3.png';">
		                    </div>
		                </div>
	            <div style="clear: both">
 	                    Giá 
 	                    <input type="radio" value="0" checked="checked" name="ssapxep">  
 	                    Tất cả&nbsp; 
	                    <input type="radio" <?php if(isset($_SESSION['search']['order']) && $_SESSION['search']['order'] == 'ASC') echo 'checked '; ?> style="height: 20px" value="1" name="ssapxep"> 
	                    Tăng<input type="radio" <?php if(isset($_SESSION['search']['order']) && $_SESSION['search']['order'] == 'DESC') echo 'checked '; ?> style="height: 20px" value="2" name="ssapxep">Giảm
 	                </div> 

		                <div style="clear:both">
		                    <div style="height: 10px">
		                    </div>
		                    VD:
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='*1986'">
		                    *1986</a>,
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='09*6868'">
		                    09*6868</a>,
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='0913*'">
		                    0913*</a>,
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='01234*'">
		                    01234*</a>,
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='091xxxx678'">
		                    091xxxx678</a>,
		                    <a rel="nofollow" href="javascript:void(0)" onclick="document.timkiemsim.Textsim.value='09*99x99'">
		                    09*99x99</a>
		                    <div style="height: 5px;">
		                    </div>
		                    <span style="display: none" id="tnc">
		                    <a onclick="oshow();" rel="nofollow" href="javascript:void(0)">
                            </a>
<!--		                    <strong>Tìm nâng cao</strong></a></span><span style="display: none" id="tbt"><a onclick="ohide();" rel="nofollow" href="javascript:void(0)"><strong>Tìm 
		                    nhanh</strong></a></span> Dãy số không gồm:
		                    <input type="checkbox" value="1" name="n[]">1<input type="checkbox" value="2" name="n[]">2<input type="checkbox" value="3" name="n[]">3<input type="checkbox" value="4" name="n[]">4<input type="checkbox" value="5" name="n[]">5<input type="checkbox" value="6" name="n[]">6<input type="checkbox" value="7" name="n[]">7<input type="checkbox" value="8" name="n[]">8<input type="checkbox" value="9" name="n[]">9-->
		                </div>
<!--                 
	                <div style="clear:both">
	                    <div style="height:19px;width:386px; margin-left: 35px; padding-top: 5px;">
	                        <span>Tổng nút : </span>
	                        <input type="text" style="width:28px" name="count"/>
	                        <span>1-10 Tổng điểm : </span>
	                        <input type="text" style="width:28px" name="point"/>
	                        <span> < 81 </span>
	                    </div>
	                    <div style="font-size: 11px; height: 30px;">
		                    <div style="height:5px"></div>
		                    <input type="checkbox" value="1" name="s2s">
		                    Tíck vào đây nếu bạn muốn tìm trong kết quả đã tìm
		                </div>
	                </div>
 -->
 					</div>
 				</div>
           	</form>
        </div>
    </div>
    <div>
        <div style="background-image:url(/images/default/bg_main_b.png);height:6px; text-align: center;"></div>
    </div>